<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>寻找信息</title>
</head>
<body>
    <script>
        var arr=[
            ['小慕','男','23'],
            ['小欧','女','23'],
            ['小棵','男','23'],
            ['小四','女','23'],
            ['小看','女','23']
        ];
        var n=[];
        for(var i=0;i<5;i++){
            for(var j=0;j<3;j++){
                if(arr[i][j]=='女'){
                    n.push(arr[i]);
                }
            }
        }
        document.write(n);
    </script>
</body>
</html>